Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for lost connection infinite loop #77

Merged
merged 6 commits into from Dec 29, 2012

Conversation

atorres757
Copy link
Contributor

Added the ability to retry establishing a connection to redis when the connection is lost. I also placed a sleep for 1 second before attempting to re-establish a connection. Our error logs were logging large amounts of the following error fwrite(): send of 51 bytes failed with errno=32 Broken pipe.

@chrisboulton
Copy link
Owner

Awesome, thanks 👍.

I actually fixed this a little differently here a while ago but haven't merged back my changes from our customisations. (:disappointed:)

Anyway, more than happy to bring this across and in. Thanks again!

chrisboulton added a commit that referenced this pull request Dec 29, 2012
Fix for lost connection infinite loop
@chrisboulton chrisboulton merged commit 5fdc360 into chrisboulton:master Dec 29, 2012
@atorres757
Copy link
Contributor Author

No prob, glad to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants